-
Home
-
The Events Calendar
-
6.7.1
-
Code
-
Classes
- Abstract_API_Key_Api
Total Complexity |
35 |
Dependencies |
2 |
Dependents |
0 |
Total lines |
470 |
Lines of code |
166 |
Logical lines of code |
81 |
Comment lines |
227 |
Methods |
16 |
Properties |
10 |
Methods 16
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
is_valid_api_key() |
A |
41 |
8 |
64 |
get_list_of_api_keys() |
S |
59 |
4 |
15 |
load_api_key_by_id() |
S |
61 |
3 |
11 |
set_api_key_by_id() |
S |
63 |
3 |
10 |
load_api_key() |
S |
67 |
2 |
8 |
set_api_key_last_access() |
S |
65 |
2 |
8 |
hash_the_secret() |
S |
72 |
2 |
5 |
check_secret() |
S |
71 |
2 |
6 |
get_user() |
S |
79 |
2 |
3 |
is_ready() |
S |
80 |
1 |
3 |
init_api_key() |
S |
65 |
1 |
9 |
update_list_of_api_keys() |
S |
66 |
1 |
8 |
delete_from_list_of_api_keys() |
S |
72 |
1 |
5 |
get_api_key_by_id() |
S |
78 |
1 |
3 |
delete_api_key_by_id() |
S |
73 |
1 |
5 |
api_hash() |
S |
78 |
1 |
3 |